package org.genntii.smopenid.client;

import org.genntii.smcommon.result.Result;
import jakarta.servlet.http.HttpServletRequest;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.cloud.openfeign.FeignClient;

@FeignClient("sm-userServer")
public interface UserClient {

    @GetMapping("/user/openId")
    Result openId(@RequestParam("steamId") Long steamId, @RequestParam("userId")Long userId);

}
